package com.zhang.service;

import com.zhang.pojo.Department;

import java.util.Collection;

/**
 * @author zhangshihao
 * @create 2023-03-03 11:41
 */
public interface DepartmentService {
    // 获得所有部分信息
    Collection<Department> getDepartments();

    // 通过id得到部分
    Department getDepartmentById(Integer id);
}
